package com.gxa.mapper;

import com.gxa.domain.dto.CarInsuranceDTO;
import com.gxa.domain.dto.CarManageDTO;
import com.gxa.domain.entity.CarInsurance;
import com.gxa.domain.entity.CarManage;
import com.gxa.domain.vo.CarInsuranceVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * User: gxb
 * Date: 2024/07/17  10:33
 * Description:
 * Version: V1.0
 */
@Mapper
public interface CarInsuranceMapper {
    //插入车辆保险
    void insertCarInsurance(CarInsurance carInsurance);
    //根据id查询一个车辆保险
    CarInsuranceVO findCarInsuranceById(Long id);
    //查询所有车辆保险
    List<CarInsurance> findCarInsuranceAll();
    //修改保险
    void updateCarInsurance(CarInsurance CarInsurance);
    //根据id删除一个车辆保险
    void deleteCarInsuranceById(Long id);
    //查询页面数据
    List<CarInsurance> findCarInsuranceByWhere(CarInsuranceDTO carInsuranceDTO);
}
